<div class="media">
                  <div class="panel-title">
                     <div class="panel-h6">» Video</div>
                     <div class="panel-nav"></div>
                  </div>
                  <div id="showVideoPlayer" style="clear:both;">
				  	<?php 
						$obj_video = get_mod_video();
						
					?>
                     <title>
                        Video Player
                     </title>
					 	<div  id= "video_play">
					 	<?php if(isset($obj_video[0]['cweblink'])){?>
                  		 <iframe width="280" height="230" src="http://www.youtube.com/embed/<?php echo $obj_video[0]['cweblink']?>" frameborder="0" allowfullscreen></iframe>
						 <?php }?>
						 </div>
                  </div>
                  <ul>
				  	<?php 
						foreach($obj_video as $video)
						{
					?>
                     <li id="media_1" style="font-weight: bold;">
                        <div class="headline"><a href="javascript:view_video('<?php echo $video['cweblink']?>')"> <?php echo prefix_li().limit_str($video['cwebname'],35);?></a> </div>
                     </li>
					 <?php 
					 	}
					 ?>

                  </ul>
                  <br />
               </div>
			   
<script type="text/javascript">
	function view_video(video)
	{
		$("#video_play").html(' <iframe width="280" height="230" src="http://www.youtube.com/embed/'+video+'" frameborder="0" allowfullscreen></iframe>');
		
	}
</script>